﻿class Calc
{
    static void Main(string[] args)
    {
        Console.WriteLine("pls input two nums and a operator,operator in the mid, parse with enter");
        double a = double.Parse(Console.ReadLine());
        char op = char.Parse(Console.ReadLine());
        double b = double.Parse(Console.ReadLine());
        double ans = 0;
        switch (op)
        {
            case '+':
                ans= a + b; break;
            case '-':
                ans= a - b; break;
            case '*':  
                ans= a * b; break; 
            case '/':  
                ans= a / b; break;
        }
        Console.WriteLine($"{a} {op} {b} = {ans}");
    }
}
